package com.tengju.data.infrastructure.persistence.mybatis.mapper.data.custom;

import org.apache.ibatis.annotations.Param;

import java.time.LocalDate;
import java.util.List;
import java.util.Map;

/**
 * @author kezunfa
 */
public interface ReportDealerInfoMapper {

    List<Map<String,Object>> getMonthPullDealers(@Param("startDate") LocalDate startDate,
                                                 @Param("endDate") LocalDate endDate,
                                                 @Param("secIdCodeList") List<Long> secIdCodeList,
                                                 @Param("offset") Integer offset,
                                                 @Param("limit") Integer limit);

    List<Map<String,Object>> getStarSigningDealers(@Param("secIdCodeList") List<Long> secIdCodeList,
                                                   @Param("signStepList") List<Integer> signStepList,
                                                   @Param("offset") Integer offset,
                                                   @Param("limit") Integer limit);

    List<Map<String,Object>> getTargetStarDealers(@Param("secIdCodeList") List<Long> secIdCodeList,
                                                  @Param("starLevel") Integer starLevel,
                                                  @Param("offset") Integer offset,
                                                  @Param("limit") Integer limit);

    List<Map<String,Object>> getDominationStarMember(@Param("idCode") Long idCode,
                                                     @Param("month") Integer month,
                                                     @Param("offset") Integer offset,
                                                     @Param("limit") Integer limit);

}
